PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


Theme Track Attributes Constants

The ThemeTrackAttributes enumeration defines masks your application can use in the ThemeTrackDrawInfo structure to specify various attributes of track controls. The ThemeTrackAttributes constants are available with Appearance Manager 1.1 and later.

enum {
    kThemeTrackHorizontal   = (1 << 0),
    kThemeTrackRightToLeft  = (1 << 1),
    kThemeTrackShowThumb    = (1 << 2)
};
typedef UInt16 ThemeTrackAttributes;

Constant descriptions

kThemeTrackHorizontal
If the bit specified by this mask is set, the track is horizontally, not vertically, oriented.
kThemeTrackRightToLeft
If the bit specified by this mask is set, values for the track increase from right to left if the track is horizontally oriented, or from bottom to top if the track is vertically oriented.
kThemeTrackShowThumb
If the bit specified by this mask is set, an indicator is drawn for this track.

© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)